package com.ustb.mainweb;

import javax.swing.*;

public class MainFrame extends JFrame {
    public MainFrame() {
        setTitle("AX-CPT Test");
        setSize(400, 300);
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        setLocationRelativeTo(null);
        initUI();
    }

    private void initUI() {
        JButton startButton = new JButton("Start Test");
        startButton.addActionListener(e -> startTest());
        add(startButton);
    }

    private void startTest() {
        // 跳转到测试界面
    }
}